package com.yimi.yinhepda.db.table;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: lj
 * Date: 2018/12/29
 * Description:移库装卸车暂存表
 */
@DatabaseTable(tableName = "MoveStockTaskCacheTable")
public class MoveStockTaskCacheTable implements Serializable{

    @DatabaseField(generatedId = true)
    private transient Long id;
    /**
     * 当前操作部门编码
     */
    @DatabaseField
    private String deptCode;
    /**
     * 用户编码
     */
    @DatabaseField
    private String operCode;
    /**
     * 任务号
     */
    @DatabaseField
    private String taskNo;
    /**
     * 移出场地
     */
    @DatabaseField
    private String moveOutCode;
    @DatabaseField
    private String moveOutName;
    /**
     * 移入场地
     */
    @DatabaseField
    private String moveInCode;
    @DatabaseField
    private String moveInName;
    /**
     * 车牌号
     */
    @DatabaseField
    private String carNo;
    /**
     * 月台号
     */
    @DatabaseField
    private String platformNo;
    /**
     * 票数
     */
    @DatabaseField
    private int piaoNum;
    /**
     * 装车类型：1-装车，2-卸车
     */
    @DatabaseField
    private int operType;
    /**
     * 是否上传：0-未上传，1-已上传
     */
    @DatabaseField
    private int isUpload;
    /**
     * 创建时间
     */
    @DatabaseField
    private Date createTime;

    private boolean isCheck;

    public MoveStockTaskCacheTable() {
        createTime = new Date();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPlatformNo() {
        return platformNo;
    }

    public void setPlatformNo(String platformNo) {
        this.platformNo = platformNo;
    }

    public String getMoveOutCode() {
        return moveOutCode;
    }

    public void setMoveOutCode(String moveOutCode) {
        this.moveOutCode = moveOutCode;
    }

    public String getMoveInCode() {
        return moveInCode;
    }

    public void setMoveInCode(String moveInCode) {
        this.moveInCode = moveInCode;
    }

    public int getIsUpload() {
        return isUpload;
    }

    public void setIsUpload(int isUpload) {
        this.isUpload = isUpload;
    }

    public String getMoveOutName() {
        return moveOutName;
    }

    public void setMoveOutName(String moveOutName) {
        this.moveOutName = moveOutName;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }


    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public String getMoveInName() {
        return moveInName;
    }

    public void setMoveInName(String moveInName) {
        this.moveInName = moveInName;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public int getPiaoNum() {
        return piaoNum;
    }

    public void setPiaoNum(int piaoNum) {
        this.piaoNum = piaoNum;
    }

    public String getOperCode() {
        return operCode;
    }

    public void setOperCode(String operCode) {
        this.operCode = operCode;
    }

    public int getOperType() {
        return operType;
    }

    public void setOperType(int operType) {
        this.operType = operType;
    }
}
